package com.spic.business.alarm.service;

import com.alibaba.fastjson.JSONArray;
import com.spic.business.alarm.domain.AlarmModel;

import java.util.List;

/**
 * FloodControlService
 * @version 1.0
 * @author liujunyang
 * @date 2021/6/29 11:14
 */
public interface FloodControlService {
    /**
     * 定时任务生成告警数据
     * @return
     */
    int monitorRainfall();

    /**
     * 查询告警主表数据列表
     */
    List<AlarmModel> selectAlarmList(AlarmModel alarmModel);
}
